package com.sportradar.assessment.work.services;

import java.util.concurrent.atomic.AtomicLong;

/*
 * Multiplication per Five NumberProgression implementation
 * 
 */
public class MultiplicationFiveProgression implements NumberProgression {

	
	private AtomicLong currentNumber=new AtomicLong();
	
	/*
	 * Next number in the Multiplication five table 
	 * @return next number in the Multiplication five table 
	 */
	public long getNextNumber() {
		return currentNumber.getAndAdd(5);
	}

}
